package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 护理任务详情视图对象
 */
@Data
@ApiModel("护理任务详情VO")
public class NursingTaskDetailVo {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("老人ID")
    private Long elderId;

    @ApiModelProperty("老人姓名")
    private String elderName;

    @ApiModelProperty("床位号")
    private String bedNumber;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("护理员ID")
    private Long nursingId;

    @ApiModelProperty("护理员姓名列表")
    private List<String> nursingName;

    @ApiModelProperty("预计服务时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;

    @ApiModelProperty("实际服务时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realServerTime;

    @ApiModelProperty("状态：1-待执行 2-已完成 3-已取消")
    private Integer status;

    @ApiModelProperty("备注/标记")
    private String mark;

    @ApiModelProperty("取消原因")
    private String cancelReason;

    @ApiModelProperty("任务图片URL")
    private String taskImage;

    @ApiModelProperty("护理等级名称")
    private String nursingLevelName;

    @ApiModelProperty("老人年龄")
    private Integer age;

    @ApiModelProperty("老人性别")
    private String sex;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("更新人ID")
    private Long updateBy;

    @ApiModelProperty("更新人姓名")
    private String updater;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注信息")
    private String remark;
}